-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
proxy/trojan: fix writing UDP packet #2446
Conversation
Ref #2336 (comment), maybe related?
|
Indeed. So, this PR also can't handle UDP payload larger than 2048 bytes. Can this be fixed by modifying Trojan's |
I think it will fix. I remembered that I was referencing Trojan's |
Codecov ReportPatch coverage:
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## master #2446 +/- ##
=======================================
Coverage 39.05% 39.06%
=======================================
Files 617 617
Lines 37036 37028 -8
=======================================
- Hits 14465 14464 -1
+ Misses 20981 20970 -11
- Partials 1590 1594 +4
... and 9 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have summarily approved this merge request. Thanks for your contribution.
It is worth noting that UDP packet requires segmentation is not widely supported and should be considered edge case.
close v2fly#2440, close v2fly#1795
also fix a domain length check bug
#2440 #1795
Every UDP packet should have some headers.